package com.trsj.lnsj.mapper;

import com.trsj.lnsj.entity.Participants;
import com.trsj.lnsj.entity.SignupRecord;

import java.util.ArrayList;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SignupRecordMapper {
  
 int insertRecord(SignupRecord record);
 
 int insertRecordBatch(@Param("userId") Long userId, @Param("activityId") Long activityId,@Param("Records")ArrayList<Participants> Records,@Param("orderId")String orderId);
 
 List<SignupRecord> selectByActivityIDAndIDNUMS(@Param("activityId")Long activityId,@Param("IDNUMS")List<String> IDNUMS);
 
 int deleteByOrderId(String orderId);
 
 int setInvalidStatusByOrderId(String orderId);
}